package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.dtos.ArticleDto;
import com.heima.model.article.dtos.ArticleHomeDto;
import com.heima.model.article.dtos.ArticleInfoDto;
import com.heima.model.article.pojos.ApArticle;
import com.heima.model.article.vos.LoadBehaviorInfoVO;

import java.util.List;

public interface ApArticleService extends IService<ApArticle> {

    List<ApArticle> load(ArticleHomeDto dto, Short status);

    List<ApArticle> load2(ArticleHomeDto dto, Short status,boolean cache);

    Long saveArticle(ArticleDto dto);

    LoadBehaviorInfoVO loadArticleBehavior(ArticleInfoDto dto);
}
